package com.spn.blog.service.article;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spn.blog.common.dao.pojo.Tag;
import com.spn.blog.common.vo.Result;
import com.spn.blog.common.vo.TagVo;

import java.util.List;


public interface TagService extends IService<Tag> {
    List<TagVo> findTagsByArticleId(String articleId);

    Result hots(int limit);

    /**
     * 查询所有的文章标签
     * @return
     */
    Result findAll();

    Result findAllDetail();

    Result findAllDetailById(Long id);
}
